
<?php

// echo "123";
// print_r($_GET);
if(!empty($_GET)){

   $em=$_GET['key'];
  // $email=$_GET['email'];
//print_r($em);die;
  // $stataus=$_GET['stataus'];

    $sql = "select * from `menber` where `email`='$em'";

   //激活邮箱
   $sql = "update `menber` set `stataus`=1 where `email`='$em'";

   mysqli_query($link,$sql);
   //受影响行数
   $xf=mysqli_affected_rows($link);


// print_r($_GET);die;

// select * from where email=23564@qq.com

  }

?>